package linguo.level.mapObjects.misc;

import linguo.Data;
import linguo.level.Board;
import linguo.level.mapObjects.CasilleroTransitable;
import linguo.player.Robot;

public class CasilleroFinal extends CasilleroTransitable {

	public CasilleroFinal(Board board, int x, int y) {
		super(board, x, y);

		this.image = Data.SPRITE_SHEET.grabImage(2, 7);
	}

	public void transitar(Robot robot) {
		board.ganarJuego();
	}

}
